package com.itstherules.jmsunit.expectation.xml.comparison;

import org.custommonkey.xmlunit.Diff;

public final class XmlIdenticalExpectation extends BaseXmlExpectation {

	public XmlIdenticalExpectation(String expected) {
		super(expected, new IsIdentical());
	}

	private static final class IsIdentical implements DiffQuestion {
		public boolean answer(Diff diff) {
			return diff.identical();
		}
	}
}